home *** CD-ROM | disk | FTP | other *** search
- package sun.management;
-
- import javax.management.MBeanRegistration;
- import javax.management.MBeanServer;
- import javax.management.ObjectName;
-
- public class HotspotInternal implements HotspotInternalMBean, MBeanRegistration {
- private MBeanServer server = null;
-
- public ObjectName preRegister(MBeanServer var1, ObjectName var2) throws Exception {
- ManagementFactory.registerInternalMBeans(var1);
- this.server = var1;
- return ManagementFactory.getHotspotInternalObjectName();
- }
-
- public void postRegister(Boolean var1) {
- }
-
- public void preDeregister() throws Exception {
- ManagementFactory.unregisterInternalMBeans(this.server);
- }
-
- public void postDeregister() {
- }
- }
-